﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using SqlSugar;

namespace CashFlow.Db.Entity
{
    [SugarTable("Order")]
    public class OrderEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        public string OrderNo { get; set; }

        public string Name { get; set; }

        public int BuyerUserId { get; set; }

        public int SellerUserId { get; set; }

        public DateTime CreateTime { get; set; }

        public int State { get; set; }

        public int Visible { get; set; }

        public decimal Amount { get; set; }

        public string PaymentVoucherImagePath { get; set; }
    }
}
